import api from '../utils/index'

// 请求轮播图的数据
export const getBanner = () => api.get('/banner/list')
// 请求栏目的数据
export const getBargain = () => api.get('/shop/goods/kanjia/list')
// 精选专栏
export const getNews = () => api.get('/cms/news/list')
// 人气推荐的请求
export const getMoods = (params) => api.get(`/shop/goods/list`, {
    params
})
